package com.huaxinkaiye.utils;

import com.huaxinkaiye.R;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.assist.ImageScaleType;
import com.nostra13.universalimageloader.core.display.RoundedBitmapDisplayer;

/**
 * Created by imac on 15/4/6.
 */
public class OptionsUtil {
    public static DisplayImageOptions optionsAvatar;
    static {
        optionsAvatar = new DisplayImageOptions.Builder()
                .showImageOnLoading(R.drawable.shangchuan)
                .showImageForEmptyUri(R.drawable.shangchuan)
                .showImageOnFail(R.drawable.shangchuan).cacheInMemory(true)
                .cacheOnDisk(true).considerExifParams(false)
                .resetViewBeforeLoading(false).build();
               // .displayer(new RoundedBitmapDisplayer(360)).build();
    }
}
